package com.xuerhua.yxt.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xuerhua.yxt.model.HkFaceGroup;

public interface HkFaceGroupMapper {

    int insertSelective(HkFaceGroup record);

    HkFaceGroup selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HkFaceGroup record);
    
    HkFaceGroup selectByIndexCode(String indexCode);
    
    List<HkFaceGroup> selectListByGroupType(@Param("groupType") String groupType, @Param("schoolId") Integer schoolId);

    HkFaceGroup selectByGroupName(@Param("groupType") String groupType, 
    		@Param("grade") String grade);
}